Produced by Araxis Merge on 2023-07-12 04:43:07 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Porto v4.0.5/Theme Files/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view | side_popup.phtml | 2021-02-05 03:16:16 +0000 |
| 2 | Porto v4.0.6/Theme Files/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view | side_popup.phtml | 2021-02-05 03:16:16 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 84 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | » $porto_helper = $this->helper('Smartwave\Porto\Helper\Data'); | 2 | » $porto_helper = $this->helper('Smartwave\Porto\Helper\Data'); | |||
| 3 | » $page_layout = $porto_helper->getConfig('porto_settings/product/page_layout'); | 3 | » $page_layout = $porto_helper->getConfig('porto_settings/product/page_layout'); | |||
| 4 | ?> | 4 | ?> | |||
| 5 | <?php if (!isset($page_layout) || $page_layout == "2columns-right"): ?> | 5 | <?php if (!isset($page_layout) || $page_layout == "2columns-right"): ?> | |||
| 6 | » <a href="javascript:void(0);" class="right-side-open"><em class="porto-icon-reply"></em></a> | 6 | » <a href="javascript:void(0);" class="right-side-open"><em class="porto-icon-reply"></em></a> | |||
| 7 | » <script type="text/javascript"> | 7 | » <script type="text/javascript"> | |||
| 8 | » » require([ | 8 | » » require([ | |||
| 9 | » » 'jquery' | 9 | » » 'jquery' | |||
| 10 | » » ], function ($) { | 10 | » » ], function ($) { | |||
| 11 | » » » // filter popup events | 11 | » » » // filter popup events | |||
| 12 | » » » $(document).on('click', '.right-side-open', function(e) { | 12 | » » » $(document).on('click', '.right-side-open', function(e) { | |||
| 13 | » » » » e.preventDefault(); | 13 | » » » » e.preventDefault(); | |||
| 14 | » » » » var $html = $('html'); | 14 | » » » » var $html = $('html'); | |||
| 15 | » » » » var $obj = $('.columns .mobile-sidebar'); | 15 | » » » » var $obj = $('.columns .mobile-sidebar'); | |||
| 16 | » » » » if (!$obj.parents().find('.sidebar-overlay').length) { | 16 | » » » » if (!$obj.parents().find('.sidebar-overlay').length) { | |||
| 17 | » » » » » $('<div class="sidebar-overlay"></div>').insertBefore($obj); | 17 | » » » » » $('<div class="sidebar-overlay"></div>').insertBefore($obj); | |||
| 18 | » » » » } | 18 | » » » » } | |||
| 19 | » » » » if ($html.hasClass('sidebar-opened')) { | 19 | » » » » if ($html.hasClass('sidebar-opened')) { | |||
| 20 | » » » » » $html.removeClass('sidebar-opened'); | 20 | » » » » » $html.removeClass('sidebar-opened'); | |||
| 21 | » » » » » $('.sidebar-overlay').removeClass('active'); | 21 | » » » » » $('.sidebar-overlay').removeClass('active'); | |||
| 22 | » » » » } else { | 22 | » » » » } else { | |||
| 23 | » » » » » $html.addClass('sidebar-opened'); | 23 | » » » » » $html.addClass('sidebar-opened'); | |||
| 24 | » » » » » $('.sidebar-overlay').addClass('active'); | 24 | » » » » » $('.sidebar-overlay').addClass('active'); | |||
| 25 | » » » » } | 25 | » » » » } | |||
| 26 | » » » }); | 26 | » » » }); | |||
| 27 | 27 | |||||
| 28 | » » » $(document.body).on('click', '.sidebar-overlay', function() { | 28 | » » » $(document.body).on('click', '.sidebar-overlay', function() { | |||
| 29 | » » » » $('html').removeClass('sidebar-opened'); | 29 | » » » » $('html').removeClass('sidebar-opened'); | |||
| 30 | » » » » $('html').removeClass('filter-sidebar-opened'); | 30 | » » » » $('html').removeClass('filter-sidebar-opened'); | |||
| 31 | » » » » $(this).removeClass('active'); | 31 | » » » » $(this).removeClass('active'); | |||
| 32 | » » » }); | 32 | » » » }); | |||
| 33 | 33 | |||||
| 34 | » » » $(window).on('resize', function() { | 34 | » » » $(window).on('resize', function() { | |||
| 35 | » » » » if (window.innerWidth > 991) { | 35 | » » » » if (window.innerWidth > 991) { | |||
| 36 | » » » » » $('.sidebar-overlay').click(); | 36 | » » » » » $('.sidebar-overlay').click(); | |||
| 37 | » » » » } | 37 | » » » » } | |||
| 38 | » » » }); | 38 | » » » }); | |||
| 39 | » » }); | 39 | » » }); | |||
| 40 | » </script> | 40 | » </script> | |||
| 41 | 41 | |||||
| 42 | <?php endif; ?> | 42 | <?php endif; ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.